// tests for "if", "switch" and "try" statements

if ( whaever ) a = 1;

if ( a > b && c === 4 ) a = 12.1;

if ( a++ ) {
   x = y * 4;
}

if ( ++a ) 
   if ( b < 0 ) {
      a = b * 2;
   }

if ( a < x ) {
   a = 2;
} else {
   a = 1;
}

if (whatever)
   return x;
else
   return y;

if ( abc ) {
   return true;
} else
   return false;

if (a && b) {
   // nothing
} else if (c > 0) {
   a = 33;
}

if (a && b && c) {
   // nothing
} else if (c > 0) {
   a = 33;
} else if (a < b) {
   if ( xx > yy ) a = 444;
}

if ( a && c) {
}

switch (myvar) {
}

switch ( myvar )
{
   case 1:
   case 2:
      doIt(myvar);
      break
   default:
      dontDoIt();
}

switch
(teste) {
   case "a": break
   case "b":
      teste = someVal;
      funCall(teste);
      break;
   default:
      otherStuff();
   case "z":
      strange();
}

switch (useless) {
   default: break
}

try
{
fcall()
}
finally
{}

try {
   fcall();
} catch (e) {}

try
{ f(); }
catch (e) { dealIt(e); }
finally {
   cleanUp();
}
